package cn.edu.wfit.modules.infomanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 校区对象 cis_campus
 * 
 * @author 韩强
 * @date 2024-11-15
 */
public class Campus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 校区id */
    private Long campusId;

    /** 校区编码 */
    @Excel(name = "校区编码")
    private String campusCode;

    /** 校区名称 */
    @Excel(name = "校区名称")
    private String campusName;

    /** 校区地址 */
    @Excel(name = "校区地址")
    private String camplusAddress;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }
    public void setCampusCode(String campusCode) 
    {
        this.campusCode = campusCode;
    }

    public String getCampusCode() 
    {
        return campusCode;
    }
    public void setCampusName(String campusName) 
    {
        this.campusName = campusName;
    }

    public String getCampusName() 
    {
        return campusName;
    }
    public void setCamplusAddress(String camplusAddress) 
    {
        this.camplusAddress = camplusAddress;
    }

    public String getCamplusAddress() 
    {
        return camplusAddress;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("campusId", getCampusId())
            .append("campusCode", getCampusCode())
            .append("campusName", getCampusName())
            .append("camplusAddress", getCamplusAddress())
            .append("postalCode", getPostalCode())
            .append("location", getLocation())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
